package com.foreveross.util.redis;


public interface RedisService {

	
	/**
	 * 初始化 渠道 成功 失败log
	 * @return
	 */
	public boolean recordProxyIPLog(String clientId, String channel, int num);
	
	public boolean recordProxyIPLog(String clientId, String channel, int num, boolean success);
	
	
	/**
	 *  存放 序列化的对象
	 * @param channel
	 * @param proxyIp (ProxyIpModel 序列化对象)
	 * @return
	 */
	//public boolean persistenceProxyIP(String channel, List<ProxyIpModel> proxyIp);
	
	public long countHotpoolSize(String channel);
	
}
